package com.pro.mapper;

import com.pro.pojo.JsLoginRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * ClassName:JsLoginRecordMapper
 * Package:com.pro.mapper
 * Description: 登录日志mapper
 *
 * @Date:2021/11/4 上午 9:30
 * @Author:WYH
 */
public interface JsLoginRecordMapper {

    /**
     * @author WYH
     * @date 2021/11/7 下午 6:35
     * @content : 查询登录日志的所有内容
     */
    public List<JsLoginRecord> getJsJsLoginRecord(@Param("page") Integer page, @Param("limit") Integer limit);

    /**
     * @author WYH
     * @date 2021/11/7 下午 6:35
     * @content : 记录所有登录值日的总个数
     */
    public int count();

}
